#ifndef SPHERE_H
#define SPHERE_H

//Mac OS 10.5 OpenGL Libraries
//#include <GLUT/glut.h>

//Windows/Linux OpenGL Libraries
#include <GL/glut.h>
#include "../ShapeNode.h"

/**
 * Sphere shape class
 */

using namespace scenegraph;

namespace shapes{

class Sphere : public ShapeNode 
{
	float radius;
	GLUquadricObj *quadric;

public:
	//constructors
	Sphere(); 
	Sphere(float radius, int RGBAvalues);
	Sphere(Sphere& sphere );

	//destructor
	~Sphere();

	//assignment overloading
	Sphere& operator=( Sphere& sphere );

	inline void setRadius( float radius );
	void draw();
};

void Sphere::setRadius( float _radius ) 
{
	radius = _radius;
}
}
#endif